package com.example.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by wangcheng on 18/4/12.
 */
@RestController
@RequestMapping("/demo")
public class IndexController {

    @GetMapping("/index")
    public Object index(){
        return "hello jenkins!";
    }
}
